﻿using SLInterpreter.S1;
using SLInterpreter.T1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SLInterpreter
{
    public partial class MainPage : UserControl
    {
        public MainPage()
        {
            InitializeComponent();
        }

        private void Btn_T1_Canvas_Click(object sender, RoutedEventArgs e)
        {
            CanvasWindow cw = new CanvasWindow();
            cw.Show();
        }

        private void Btn_T1_CanvasError_Click(object sender, RoutedEventArgs e)
        {
            var cw = new CanvasError();
            cw.Show();
        }

        private void Btn_T1_CanvasCorrect_Click(object sender, RoutedEventArgs e)
        {
            var cw = new CanvasCorrect();
            cw.Show();
        }

        private void Btn_S1_CanvasBind_Click(object sender, RoutedEventArgs e)
        {
            var cw = new CanvasBind();
            cw.Show();
        }
    }
}
